ImageGear v26.0 - Updated
CopyTo Method (ImGearXMPArray<T>)




ImageGear.Core Assembly > ImageGear.Formats.XMP Namespace > ImGearXMPArray<T> Class : CopyTo Method
The one-dimensional System.Array that is the destination of the elements copied from ImGearXMPArray<T>. The System.Array must have zero-based indexing.
The zero-based index in array at which copying begins.
Copies the entire ImGearXMPArray<T> to a compatible one-dimensional array, starting at the specified index of the target array.
Syntax
'Declaration
 
Public Sub CopyTo( _
   ByVal array() As T, _
   ByVal arrayIndex As Integer _
) 
'Usage
 
Dim instance As ImGearXMPArray(Of T)
Dim array() As T
Dim arrayIndex As Integer
 
instance.CopyTo(array, arrayIndex)
public void CopyTo( 
   T[] array,
   int arrayIndex
)
public: void CopyTo( 
   T*[]* array,
   int arrayIndex
) 
public:
void CopyTo( 
   array<T^>^ array,
   int arrayIndex
) 

Parameters

array
The one-dimensional System.Array that is the destination of the elements copied from ImGearXMPArray<T>. The System.Array must have zero-based indexing.
arrayIndex
The zero-based index in array at which copying begins.
Exceptions
ExceptionDescription
array is null.
arrayIndex is less than 0.

arrayIndex is equal to or greater than the length of array.

-or-

The number of elements in the source ImGearXMPArray<T> is greater than the available space from arrayIndex to the end of the destination array.

See Also

Reference

ImGearXMPArray<T> Class
ImGearXMPArray<T> Members

Is this page helpful?
Yes No
Thanks for your feedback.